package org.idea.eaglemq.broker.timewheel;

import org.idea.eaglemq.common.dto.MessageDTO;
import org.idea.eaglemq.common.dto.MessageRetryDTO;

/**
 * @author: LunBoWang
 * @description: TODO
 * @date: 2025/5/19 下午8:46
 * @version: 1.0
 */

public enum SlotStoreTypeEnum {

    MESSAGE_RETRY_DTO(MessageRetryDTO.class),
    DELAY_MESSAGE_DTO(MessageDTO.class),
    ;
    Class clazz;

    SlotStoreTypeEnum(Class clazz) {
        this.clazz = clazz;
    }

    public Class getClazz() {
        return clazz;
    }
}
